import table from './components/table'
import toolBar from './components/toolBar'
import roll from './components/roll'
import swipterText from './components/swiperText'
import tableHandle from './components/tableHandle'
import colorSelect from './components/colorSelect'
import imgSelect from './components/imgSelect'
import pagination from './components/pagination'

const comList = [
  toolBar, roll, swipterText, tableHandle, colorSelect, imgSelect, pagination
]
export default {
  install(Vue) {
    comList.forEach(com => Vue.component(com.name, com))
    table.install(Vue);
  },
}